/**
 *This is Leonard the fully server controlled robot .
 *Initiates threads of a "serverlistener" with bluetooth communication and a controller object for general
 *position and location communication to the server through XML-parsing.     
 */

public class Leonard extends Thread{
	
	public static void main(String[] args) 
	{
//		LCD.drawString("Hi! Im Leonard", 0, 0);
//		Button.waitForAnyPress();
		
		ThreadCommunication comm = new ThreadCommunication();
		
		NXTBluetooth serverListen = new NXTBluetooth(comm);
		Controller c = new Controller(comm);
		
		serverListen.start();
		c.start();

		
		
	}
	
	
}
